package com.tucy.logistics.common.entity.user;

import javax.validation.constraints.NotNull;

import java.io.Serializable;


import com.tucy.logistics.common.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
* 权限表
* @TableName system_role_menu
*/
@Setter
@Getter
public class SystemRoleMenu extends BaseEntity implements Serializable {

    /**
    * 主键id
    */
    @NotNull(message="[主键id]不能为空")
    @ApiModelProperty("主键id")
    private Long id;
    /**
    * 角色id
    */
    @NotNull(message="[角色id]不能为空")
    @ApiModelProperty("角色id")
    private Long roleId;
    /**
    * 菜单id
    */
    @NotNull(message="[菜单id]不能为空")
    @ApiModelProperty("菜单id")
    private Long menuId;
}
